projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6628c5e
)
(Flogb): Fix arg names. Don't confuse Lisp_Object with integer.
author
Richard M. Stallman
<rms@gnu.org>
Thu, 11 Mar 1993 07:25:50 +0000
(07:25 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Thu, 11 Mar 1993 07:25:50 +0000
(07:25 +0000)
src/floatfns.c
patch
|
blob
|
history
diff --git
a/src/floatfns.c
b/src/floatfns.c
index fb6030f69e33d798fc068510fe3bc0ef1f613c71..1235dad2f8651e8f778a5e6c0f9d8b6bb5717cb4 100644
(file)
--- a/
src/floatfns.c
+++ b/
src/floatfns.c
@@
-624,10
+624,11
@@
This is the same as the exponent of a float.")
error ("SYSV apparently doesn't have a logb function; what to do?");
#else
Lisp_Object val;
- double f = extract_float (num);
+ int value;
+ double f = extract_float (arg);
- IN_FLOAT (val
= logb (f), "logb", num
);
- XSET (val, Lisp_Int, val);
+ IN_FLOAT (val
ue = logb (f), "logb", arg
);
+ XSET (val, Lisp_Int, val
ue
);
return val;
#endif
}